﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using DAO;
using Entity;

namespace BUS
{
    public class NhapHangBUS
    {
        public static DataTable LayDanhSachTenSP()
        {
            return NhapHangDAO.LayDanhSachTenSP();
        }

        public static DataTable LayDanhSachTenNCC()
        {
            return NhapHangDAO.LayDanhSachTenNCC();
        }

        public static String LayMaSP(String tensp)
        {
            return NhapHangDAO.LayMaSP(tensp);
        }

        public static void NhapHang(PhieuNhapHang ph, ListSanPham list)
        {
            NhapHangDAO.NhapHang(ph, list);
        }
    }
}
